
#ifndef _OLED_H_LDJFDJFOUOLKJDKLFJDLF23123214
#define _OLED_H_LDJFDJFOUOLKJDKLFJDLF23123214

#include <stdint.h>

#define OLED_CS_L		( GPIOA->BSRR |= (1UL<< (16+12)) )			
#define OLED_CS_H		( GPIOA->BSRR |= (1UL<< 12) )	
#define OLED_RST_L		( GPIOA->BSRR |= (1UL<< (16+8)) )			
#define OLED_RST_H		( GPIOA->BSRR |= (1UL<< 8) )	
#define OLED_DC_C		( GPIOA->BSRR |= (1UL<< (16+11)) )	
#define OLED_DC_D		( GPIOA->BSRR |= (1UL<< 11) )	


/**/
void Write_Command(uint8_t Data);
void Write_Data(uint8_t Data);
void initOled(void);
void Set_Display_On_Off(unsigned char d);

#endif

/******** END OF FILE ********/

